import java.util.Scanner;
import java.util.*;
public class demo1 {
    public static void main(String[] args) {
     int []arr={1,2,6,4,5};
     Arrays.sort(arr);
     for(int i=0;i<5;i++){
         System.out.println(arr[i]);
     }
    }
}
